﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Chung/QLSV.Master" AutoEventWireup="true" CodeBehind="DoiMatKhau.aspx.cs" Inherits="proRFID_DiemDanh.Users.DoiMatKhau" %>
<asp:Content ID="Content1" ContentPlaceHolderID="contentHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentMain" runat="server">
<table align="center" style="width:450px" class="border">
    <tr>
        <th colspan="4">Đổi Mật Khẩu</th>
    </tr>
    <tr>
        <td rowspan="6">
            <asp:Image ID="Image1" runat="server" ImageUrl="img/edit.png"/>
        </td>
        <td>Username</td>
        <td>
            <asp:TextBox ID="txt_Username" runat="server" BorderColor="DarkGray" 
            BorderStyle="Solid" BorderWidth="1px" Height="22px" ReadOnly="True" 
            Width="175px"></asp:TextBox>
        </td>
        <td>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="txt_Username" 
                    CssClass="Thongbao" Display="Dynamic" style="font-size:20px;"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td>Old password</td>
        <td>
            <asp:TextBox ID="txt_OldPass" runat="server" BorderColor="DarkGray" 
                BorderStyle="Solid" BorderWidth="1px" Height="22px" TextMode="Password" 
                Width="175px"></asp:TextBox>
        </td>
        <td>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" ControlToValidate="txt_OldPass" 
                    CssClass="Thongbao" Display="Dynamic" style="font-size:20px;"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td>New password</td>
        <td>
            <asp:TextBox ID="txt_NewPass" runat="server" BorderColor="DarkGray" 
                BorderStyle="Solid" BorderWidth="1px" Height="22px" TextMode="Password" 
                Width="175px"></asp:TextBox>
        </td>
        <td>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*" ControlToValidate="txt_NewPass" 
                    CssClass="Thongbao" Display="Dynamic" style="font-size:20px;"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td>Confirm password</td>
        <td>
            <asp:TextBox ID="txt_ConfirmPass" runat="server" BorderColor="DarkGray" 
                BorderStyle="Solid" BorderWidth="1px" Height="22px" TextMode="Password" 
                Width="175px"></asp:TextBox>
        </td>
        <td>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="*" ControlToValidate="txt_ConfirmPass" 
                    CssClass="Thongbao" Display="Dynamic" style="font-size:20px;"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td colspan="3">
            <asp:CompareValidator ID="CompareValidator1" runat="server" 
                ErrorMessage="Mật khẩu xác nhận không đúng." CssClass="Thongbao" 
                ControlToCompare="txt_NewPass" ControlToValidate="txt_ConfirmPass"></asp:CompareValidator>
        </td>
    </tr>
    <tr>
        <td colspan="3" style="text-align: right;">
            <asp:Button ID="cmd_Change" runat="server" BackColor="#666666" 
                BorderColor="#666666" BorderStyle="Solid" BorderWidth="1px" Height="28px" 
                onclick="cmd_Change_Click" style="font-weight: 700; color: #FFFFFF" 
                Text="Change" Width="76px" />
        </td>
    </tr>
</table>
</asp:Content>
